<?php
/**
 * Created by PhpStorm.
 * User: WAN-XIANG-PC
 * Date: 2017/12/20
 * Time: 14:27
 */

namespace app\common\validate;

use app\common\validate\Base;

class Product extends Base
{

    protected $rule = [
      'category_name|分类名称' => 'require',
    ];

    protected $scene = [
        'category' => ['category_name'],
    ];

}